<template>
  <!-- <transition name="slide-fade">
    <router-view />
  </transition> -->
  <router-view v-slot="{ Component }">
    <transition>
      <component :is="Component" />
    </transition>
  </router-view>
</template>

<style lang="scss">
html,
body,
#app {
  height: 100%;
  overflow: hidden;
}
* {
  padding: 0;
  margin: 0;
  list-style: none;
}
.v-enter-active,.v-leave-active {
  transition: all 0.3s linear;
}
.v-enter-from{
   opacity: 0;
}
.v-leave-to {
  transform: rotate(180deg) scale(0.1);
  z-index: 99;
  opacity: 0;
}
</style>
